﻿using System.Web;

namespace InventizerWEB.GenericObjects
{
    public static class ApplicationSettings
    {
        public const int pageSize = 10;
        
        public const int PaginationCount = 1000;

        public static string InventoryId
        {
            get
            {
                return HttpContext.Current.Application["InventoryId"] as string;
            }
            set
            {
                HttpContext.Current.Application["InventoryId"] = value;
            }
        }

        public static int InventoryIdInt
        {
            get { return int.Parse(InventoryId); }
        }        
    }
}